using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN CaHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: CaHocEntity</para>
	/// <para>Description: ClassCaHocEntity store data of table CaHoc</para>
	///</summary>

	[DataContract]
	public partial class CaHocEntity{


		private bool _InternalChangedIsNullCaHoc_ID=true;
		private bool _IsNullCaHoc_ID=true;
		private bool _InternalChangedIsNullMaCa=true;
		private bool _IsNullMaCa=true;
		private bool _InternalChangedIsNullTenCa=true;
		private bool _IsNullTenCa=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _CaHoc_ID;
		private string _MaCa;
		private string _TenCa;
		private string _GhiChu;
		[DataMember]
		public bool IsNullCaHoc_ID{
			get{return _IsNullCaHoc_ID;}
			set{if(!_InternalChangedIsNullCaHoc_ID)_IsNullCaHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaCa{
			get{return _IsNullMaCa;}
			set{if(!_InternalChangedIsNullMaCa)_IsNullMaCa=value;}
		}
		[DataMember]
		public bool IsNullTenCa{
			get{return _IsNullTenCa;}
			set{if(!_InternalChangedIsNullTenCa)_IsNullTenCa=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int CaHoc_ID{
			get{return _CaHoc_ID;}
			set{
				_CaHoc_ID=value;
				if(_CaHoc_ID!=null){
					_IsNullCaHoc_ID=false;
					_InternalChangedIsNullCaHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaCa{
			get{return _MaCa;}
			set{
				_MaCa=value;
				if(_MaCa!=null){
					_IsNullMaCa=false;
					_InternalChangedIsNullMaCa=true;
				}
			}
		}
		[DataMember]
		public string TenCa{
			get{return _TenCa;}
			set{
				_TenCa=value;
				if(_TenCa!=null){
					_IsNullTenCa=false;
					_InternalChangedIsNullTenCa=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END CaHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

